@echo off

set ZEPHYR_BASE=C:\ZephyrProject\zephyr
set ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
set GNUARMEMB_TOOLCHAIN_PATH=C:\Program Files (x86)\GNU Tools ARM Embedded\7 2018-q2-update

rem Use cmake to configure a Ninja-based build system:
rem cmake -GNinja -DBOARD=nucleo_f401re ..
cmake -G"Eclipse CDT4 - Ninja" -DBOARD=qemu_cortex_m3 app

rem Now run ninja on the generated build system:
ninja

rem ninja run
